package com.lkd.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lkd.entity.Node;
import com.lkd.vo.NodeVo;
import com.lkd.vo.PageBean;
import com.lkd.vo.VendingMachineVo;

import java.util.List;

/**
 * <p>
 * 点位表 服务类
 * </p>
 *
 * @author 聂德祥
 * @since 2024-08-19
 */
public interface NodeService extends IService<Node> {

    PageBean<NodeVo> search(Integer regionId,String name, Integer pageIndex, Integer pageSize);
    NodeVo findById(Long nodeId);

    List<VendingMachineVo> findVMById(Long nodeId);

    Integer getCount();
}
